package com.gitee.dbswitch.data.entity;


import com.gitee.dbswitch.common.entity.PatternMapper;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * 源端参数配置
 *
 * @author tang
 */
@Data
public class APIDataSourceProperties {

    private String apiUrl;
    private String requestMethod;
    private String targetTable;
    private String synchronizeType;
    private List<Map<String,String>> apiParams;
    private List<Map<String,String>> apiHeaders;
    private String apiBody;
    private String apiJsonRoot;
    private String apiJsonPosition;
    private List<PatternMapper> regexTableMapper;
    private List<PatternMapper> regexColumnMapper;
}
